import Vue from "vue"
import Vuex from "vuex"

Vue.use(Vuex)

import home from './modules/home.js'
import ordermeal from './modules/ordermeal.js'
import department from './modules/department.js'
import order from './modules/order.js'
import my from './modules/my.js'
import search from "./modules/search.js"

const store = new Vuex.Store({
	modules: {
		home,
		ordermeal,
		department,
		order,
		my,
		search
	}
})
export default store
